#ifndef WORK_H
#define WORK_H

#include <QtGui> // SERIALIZZAZIONE

#include "page.h"

class Work  
{
public:
	Work();
    Work(const Work& work);
	Work(const string& title);
	Work(const string& title, const string& id);

    Work& operator = (const Work& work);

    void Id(const string& id);
	void title(const string& title);

    string Id(void) const;
    string title(void) const;

	void PPrn(Page& p_buff);
private:
	string m_Id;
	string m_title;
};

Q_DECLARE_METATYPE(Work) // SERIALIZZAZIONE

#endif
